Writing Testsuites
test_anyUsage: test_any([[a]], b) test_any([[ int f (int i) {i = 0; return i;}; return f (1); ]],0) test_any_equal([[a]], b) test_any_equal([[ class Foo {int foo();}; return indices(Foo()); ]], ({"foo"})) test_eq(a, b) test_eq('u117f', 0x117f) test_equal(a, b) test_equal(mtest_m,copy_value(mtest_m)) test_do(a) test_do([[ void foo (int i) { multiset res = (<>); if (i) res = res; }; foo (1); ]]) test_true, [[DOTEST(TRUE,dnl test_false, [[DOTEST(FALSE,dnl test_compile,[[DOTEST(COMPILE,dnl test_compile_any,[[DOTEST(COMPILE,dnl test_compile_error,[[DOTEST(COMPILE_ERROR,dnl test_compile_error_any,[[DOTEST(COMPILE_ERROR,dnl test_compile_warning,[[DOTEST(COMPILE_WARNING,dnl test_compile_warning_any,[[DOTEST(COMPILE_WARNING,dnl test_eval_error,[[DOTEST(EVAL_ERROR,dnl test_define_program,[[DOTEST(RUN,dnl test_program, [[DOTEST(TRUE,dnl test_program_eq, [[DOTEST(EQ,dnl test_program_equal, [[DOTEST(EQUAL,dnl test_tests, [[DOTEST(RUNCT,dnl cond,dnl [[CONDITION]],[[COND $1 [[CONDITION]],[[]]) cond_resolv,[[cond([[master()->resolv(dnl ifefun,[[cond([[all_constants()->$1]],[[$2]])]]) nonregression,[[ifefun(regression,[[$1]])]]) TESTNO,0) [[test_cmp]],[[ [[test_cmp3]],[[ Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |